<?php if (!defined("_ECRIRE_INC_VERSION")) return;

require_once(_DIR_PLUGIN_PDK.'classes/models/PdkRubriqueModel.php'); // для наследования может понадобиться
require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.RubriqueGroupeModel.php');
require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.GroupeModel.php');
require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.ProprieteModel.php');
require_once(_DIR_PLUGIN_PDK.'classes/forms/class.PdkListEditor.php');
//include_once(_DIR_PLUGIN_PDK.'functions/pdk_database.php');
 
function formulaires_ecatalogue_proprietes_charger_dist() {
	$valeurs = array();
/*
    $rubrique_mdl = new PdkRubriqueModel();
    $rubriques = $rubrique_mdl->select('composition="catalog-main"');
    $id_rubrique = isset($rubriques[0]['id_rubrique'])?$rubriques[0]['id_rubrique']:0;

    //die(var_dump($id_rubrique));
    $rg_mdl = new RubriqueGroupeModel();
    $groupes = $rg_mdl->select('id_rubrique IN ('.$id_rubrique.')');

    $valeurs['id_rubrique'] = $id_rubrique; //current rubrique id
    //$valeurs['groups_ids'] = //id groups for current rubrique
    */
	return $valeurs;
}
?>